package com.example.flow.dao;

import com.example.flow.dao.model.FlowApproveApply;

/**
 * @author safe
 * @date 2021/1/31
 */
public interface FlowApproveApplyDao {
    /**
     * 查询流程审批记录
     * @param applyId 流程审批申请编号
     * @param orderId 工单编号
     * @return 流程审批记录
     */
    FlowApproveApply queryOne(String applyId, String orderId);

    boolean saveFlowApproveApply(FlowApproveApply flowApproveApply);

    boolean updateByExample(FlowApproveApply record);

    boolean updateByExampleBySelective(FlowApproveApply approveApply);
}
